package com.IOSLab.dao;

import com.IOSLab.BaseTest;
import com.IOSLab.entity.ActivityApply;
import com.IOSLab.entity.UserInfo;
import org.junit.Test;

import javax.annotation.Resource;
import java.util.Date;

import static org.junit.Assert.*;

public class UserInfoMapperTest extends BaseTest{
    @Resource
    private  ActivityMapper activityMapper;
    @Test
    public void insert() throws Exception {
        Date  a= new Date();
        ActivityApply userInfo = new ActivityApply();
        userInfo.setId(6);
        userInfo.setName("fuu");
        userInfo.setSex("y");
        userInfo.setStudentId(123513123);
        userInfo.setPhone("u");
        userInfo.setCreateTime(a);
        userInfo.setUpdateTime(a);

        activityMapper.insert(userInfo);
    }

    @Test
    public void checkStudentId() throws Exception {


    }

}